package com.ysz.gulimall.product.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description: 线程池配置类
 * @Created: with IntelliJ IDEA.
 * @author: 杨圣志
 * @createTime: 2024-01-17 20:24
 **/
@ConfigurationProperties(prefix = "gulimall.thread")
// @Component
@Data
public class ThreadPoolConfigProperties {

    private Integer coreSize;

    private Integer maxSize;

    private Integer keepAliveTime;


}
